package com.ruoyi.planthopper.mapper;

import com.ruoyi.planthopper.domain.InvesInfo;
import com.ruoyi.planthopper.domain.QueryCondition;
import com.ruoyi.planthopper.domain.WebPlotInfo;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @program: class by cxf
 * @author: AbrahamBill
 * @date: 2022/7/22
 **/
@Mapper
public interface InvesMapper {
    public List<InvesInfo> selectInvesList(QueryCondition queryCondition);

    public int insertInvesInfo(InvesInfo invesInfo);

    public List<String> selectPlotNameByUser(String userName);

    public int deleteMyImgById(int id);

    public List<WebPlotInfo> selectPlotNameByUser2(String userName);

    public int deleteMyPlotById(int id);

    public int deleteInvesInfoById(int id);
}
